<style>
	.row{
		margin-left: 0!important;
		margin-right: 0!important;
		width: 100%;
	}
	@media screen and (max-width:750px){
		#echart{
			width: 100%!important;
			height: 340px!important;
		}
	}
</style>
<div class="row">
    <div class="row rows" style="padding: 60px 0 20px 0;">
        <div class="col-hd-12">
            <h3 class="text-center">霍兰德职业兴趣测评(您的测试结果倾向于 <b>{:strtoupper($r)}</b>)</h3><br />
        </div>
        <div class="col-md-8 col-md-offset-2">
            <div id="echart" style="width:75%;height:450px;margin: 0 auto;"></div>
        </div>
    </div>
   
    {foreach name='cs' id='vo' key='k'}
    {php}

    if($k != $r) continue;
    {/php}
    <div class="panel panel-success" >
        <div class="panel-heading">{:strtoupper($k)}</div>
        <div class="panel-body">{$vo}</div>
    </div>
    {/foreach}

    {if $from=='admin' }
    <button class="btn btn-success" style="position: fixed; top:90px; right:130px;" onclick="$(this).hide();$('.hid').hide();window.print()">打印本页</button>
<!--    <button class="btn btn-success" style="position: fixed; top:90px; right:50px;" onclick="window.location.href='/admin/test/hld/answer/download?ids={$row.id}'">下载报告</button>-->
    <style>
        .hid{
            /*display: none;*/
        }
    </style>
    {elseif $from == 'all'}
    {else}
    <button class="btn btn-success" style="position: fixed; top:90px; right:50px;" onclick="window.location.href='next?current=hld'">进入下一个测评</button>
    <!-- <button class="btn btn-danger" style="position: fixed; top:130px; right:50px;" onclick="window.location.href='allreport'">查看所有测评</button> -->
    {/if}
</div>

</div>